gtk+3.0.git
3 years agomacos: Fix to offscreen window selections in Gimp 2.99
Lukas Oberhuber [Fri, 27 May 2022 21:26:50 +0000 (21:26 +0000)]
macos: Fix to offscreen window selections in Gimp 2.99

3 years agoMerge branch 'wayland-cursor-size' into 'gtk-3-24'
Matthias Clasen [Fri, 27 May 2022 11:02:22 +0000 (11:02 +0000)]
Merge branch 'wayland-cursor-size' into 'gtk-3-24'

wayland/cursor: Sanity check cursor image size

See merge request GNOME/gtk!4381

3 years agoMerge branch 'dont-dist-gresource-srcs' into 'gtk-3-24'
Emmanuele Bassi [Wed, 25 May 2022 13:22:23 +0000 (13:22 +0000)]
Merge branch 'dont-dist-gresource-srcs' into 'gtk-3-24'

Don't dist some generated sources

See merge request GNOME/gtk!4738

3 years agoMerge branch 'msvcproj-nmake-install' into 'gtk-3-24'
Luca Bacci [Wed, 25 May 2022 08:23:58 +0000 (08:23 +0000)]
Merge branch 'msvcproj-nmake-install' into 'gtk-3-24'

Cleanup Visual Studio project files a bit

See merge request GNOME/gtk!4734

3 years agoMerge branch 'quartz-redraw-pixbuf' into 'gtk-3-24'
Matthias Clasen [Sat, 21 May 2022 13:15:21 +0000 (13:15 +0000)]
Merge branch 'quartz-redraw-pixbuf' into 'gtk-3-24'

quartz: Use CALayer to back GdkQuartzView

See merge request GNOME/gtk!4728

3 years ago[quartz] Manage implementation surface lifetime.
John Ralls [Fri, 13 May 2022 19:59:09 +0000 (12:59 -0700)]
[quartz] Manage implementation surface lifetime.

To prevent leaking cairo surfaces while persisting the parts that
don't need to be redrawn.

3 years agoUse a CVPixelBuffer instead of a CGImage.
John Ralls [Thu, 20 Jan 2022 01:07:04 +0000 (17:07 -0800)]
Use a CVPixelBuffer instead of a CGImage.

3 years agoDraw window to image_surface and apply to CALayer.
John Ralls [Thu, 28 Oct 2021 22:15:20 +0000 (15:15 -0700)]
Draw window to image_surface and apply to CALayer.

3 years ago[quartz] Draw needs_display_region if available
John Ralls [Sun, 8 May 2022 18:32:59 +0000 (11:32 -0700)]
[quartz] Draw needs_display_region if available

3 years agoquartz: add CVDisplayLink based frame clock
John Ralls [Wed, 2 Feb 2022 00:21:18 +0000 (16:21 -0800)]
quartz: add CVDisplayLink based frame clock

This uses CVDisplayLink to drive the GdkFrameClock. A GdkWindow
can register a frame callback to thaw their frame clock as necessary
based on the next notification from CVDisplayLink.

CVDisplayLink notifies us on a high-priority thread. We use the same
NSEventas gdkeventloop-quartz.c to wakeup the main loop. This is done
so that we don’t pathologically wake up the select thread to then
continue notifying the main loop.

We use an embedded GList node in the GdkWindowImplQuartz so that we
can avoid allocating any lists or arrays for pending frame callbacks.
Compare this to the same design in GdkWindow for children.

3 years agoDrop win32/Makefile.msvc-introspection
Chun-wei Fan [Thu, 19 May 2022 03:33:25 +0000 (11:33 +0800)]
Drop win32/Makefile.msvc-introspection

We no longer use the autotools 'dist-hook' to generate the items that we
need to build introspection with the Visual Studio projects, so drop the
autotools files and bits that we had to support this.  So, for
introspection on Visual Studio via the project files, it is purely via
NMake at this point.

3 years agobuild: Write introspection rules directly in NMake Makefiles
Chun-wei Fan [Thu, 19 May 2022 03:22:12 +0000 (11:22 +0800)]
build: Write introspection rules directly in NMake Makefiles

By doing so, we can drop the autotools rules that we use to generate the
file lists and rules for building introspection via NMake Makefiles for
Visual Studio builds via the project files.

3 years agogtk: Build: Prefix deprecated source listings
Chun-wei Fan [Thu, 19 May 2022 02:23:59 +0000 (10:23 +0800)]
gtk: Build: Prefix deprecated source listings

...with gtk_, so that they are distinguished from other names and is
more clear to people.

3 years agogtk-sources.inc: Split base sources in two parts
Chun-wei Fan [Wed, 18 May 2022 09:54:39 +0000 (17:54 +0800)]
gtk-sources.inc: Split base sources in two parts

Otherwise, NMake will choke when creating a filelist from it.  This
U1095 error is nasty! :|

3 years agogdk: Move source listings to gdk-sources.inc
Chun-wei Fan [Wed, 18 May 2022 07:59:35 +0000 (15:59 +0800)]
gdk: Move source listings to gdk-sources.inc

We want to share those listings with other non-autools build systems.

3 years agogdk/: Rename gdk-pub-headers.h to gdk-sources.inc
Chun-wei Fan [Wed, 18 May 2022 07:49:05 +0000 (15:49 +0800)]
gdk/: Rename gdk-pub-headers.h to gdk-sources.inc

We want to make the sources listings for libgdk shared as well.

3 years agowin32/vs10/*.vcxproj: Consolidate project configs
Chun-wei Fan [Wed, 18 May 2022 03:40:59 +0000 (11:40 +0800)]
win32/vs10/*.vcxproj: Consolidate project configs

Like what was done in the *.vcxprojin templates, consolidate project configs
that are repetitive, and use the 'Condition=' directive to distinguish between
configuration and/or target platform differences.

3 years agowin32/vs10/*.vcxprojin: Consolidate project configs
Chun-wei Fan [Tue, 17 May 2022 09:30:10 +0000 (17:30 +0800)]
win32/vs10/*.vcxprojin: Consolidate project configs

We can use MSBuild "Condition" items to consolidate the configs, so that we can
clean up the project files a bit.

3 years agoVisual Studio projects: Make property sheets shared
Chun-wei Fan [Tue, 17 May 2022 04:33:22 +0000 (12:33 +0800)]
Visual Studio projects: Make property sheets shared

...for Visual Studio 2010 and later, since we used to copy them and
merely update the value of $(VSVer) during 'make dist' as needed.

Instead of doing that, move the property sheets for Visual Studio 2010,
which is the base version that we use, into a directory of its own, and
make the Visual Studio 2010~2022 projects look for them in that
directory, and set VSVer according to the toolset version identified by
each of the project files.

The ARM64-specific property sheet needed for VS2017 and the VS2008
property sheets will remain as they are.

3 years agoVisual Studio projects: Drop another property sheet
Chun-wei Fan [Tue, 17 May 2022 03:59:31 +0000 (11:59 +0800)]
Visual Studio projects: Drop another property sheet

We can again use MSBuild trickery to do what was done in the dropped
property sheet.

Unfortunately, like the last commit, I couldn't figure out a way do to
something similar in the VS2008 project files... :|

3 years agoVisual Studio projects: Drop unneeded property sheet
Chun-wei Fan [Tue, 17 May 2022 03:27:57 +0000 (11:27 +0800)]
Visual Studio projects: Drop unneeded property sheet

We can use MSBuild trickery to do what the property sheet intends to
cover

3 years agobuild: Drop gtk3-install.[vsprops|props]
Chun-wei Fan [Mon, 16 May 2022 09:59:02 +0000 (17:59 +0800)]
build: Drop gtk3-install.[vsprops|props]

They are not used anymore, and are removed at this point.

3 years agoVisual Studio Projects: Use NMake Makefile to copy build results
Chun-wei Fan [Mon, 16 May 2022 09:45:52 +0000 (17:45 +0800)]
Visual Studio Projects: Use NMake Makefile to copy build results

... and so stop using gtk3-install.[vsprops|props], and remove that
property sheet from the dist and dist the NMake Makefile for the
purpose.

Also remove win32/vs10/gtk3-install.vcxproj.filters as well, as it is
no longer needed.

We will remove the gtk3-install.[vsprops|[props][.in] in a subsequent
commit.

3 years agowin32/: Add install-msvc.mak
Chun-wei Fan [Mon, 16 May 2022 08:20:37 +0000 (16:20 +0800)]
win32/: Add install-msvc.mak

This is an NMake Makefile that will replace the property sheets in the
Visual Studio project files so that we can call it from the project
files to "install" the binaries and introspection files that were built,
along with the header files and other data files, which aims to be
easier to maintain for the current approach.

This will also be expanded upon to optionally build the translation
files and make the installed files more in-line with what are done in
the Meson build files, where there could be compatibility problems with
older Visual Studio toolchains.

3 years agowin32/create-lists-msvc.mak: Pull in the newly-split source listings
Chun-wei Fan [Mon, 16 May 2022 04:35:40 +0000 (12:35 +0800)]
win32/create-lists-msvc.mak: Pull in the newly-split source listings

We are going to use them to help us to use an NMake Makefile to copy the
built files and headers in our "install" directory.

3 years agowin32/create-lists-msvc.mak: Clean up a bit
Chun-wei Fan [Mon, 16 May 2022 04:32:03 +0000 (12:32 +0800)]
win32/create-lists-msvc.mak: Clean up a bit

We now have the theme CSS source listings in gtk/gtk-sources.inc, so
make use of it.  No need to repeat items from there.

3 years agolibgail-util: Split out sources listings
Chun-wei Fan [Mon, 16 May 2022 04:06:00 +0000 (12:06 +0800)]
libgail-util: Split out sources listings

We want to share the listings with other non-autotools build systems.

3 years agogtk/Makefile.am: Split out more items
Chun-wei Fan [Fri, 13 May 2022 11:03:47 +0000 (19:03 +0800)]
gtk/Makefile.am: Split out more items

... to gtk-sources.inc, since we will want to share the items in the lists that
were split out.

3 years agogtk: Rename gtk-mkenums-headers.mak to gtk-sources.inc
Chun-wei Fan [Fri, 13 May 2022 10:54:12 +0000 (18:54 +0800)]
gtk: Rename gtk-mkenums-headers.mak to gtk-sources.inc

We want to reuse more sources listings in other non-autotools build
systems.

3 years agogdk/broadway: Split out sources listing
Chun-wei Fan [Fri, 13 May 2022 10:41:15 +0000 (18:41 +0800)]
gdk/broadway: Split out sources listing

This way, we can reuse these lists in other non-autotools Makefile-based
build systems.

3 years agogdk/win32: Split out sources listing
Chun-wei Fan [Fri, 13 May 2022 10:35:54 +0000 (18:35 +0800)]
gdk/win32: Split out sources listing

This way, we can reuse this list in other non-autotools Makefile-based
build systems.

3 years ago3.24.34
Matthias Clasen [Wed, 18 May 2022 17:33:35 +0000 (13:33 -0400)]
3.24.34

3 years agodemos: Fix distcheck
Chun-wei Fan [Wed, 18 May 2022 09:48:16 +0000 (17:48 +0800)]
demos: Fix distcheck

Make sure that we remove the files generated by glib-compile-resources
during distclean.

3 years agogtk/Makefile.am: Fix distcheck
Chun-wei Fan [Wed, 18 May 2022 07:29:24 +0000 (15:29 +0800)]
gtk/Makefile.am: Fix distcheck

Apparently distcheck expects the generated gtk.gresource.xml to be
there.

3 years agowin32: Update Visual Studio projects
Chun-wei Fan [Tue, 17 May 2022 11:51:15 +0000 (19:51 +0800)]
win32: Update Visual Studio projects

This is a follow-up commit so that the generated GResources sources for
the demos are included in the project files.

As a result, don't include demo_resources.c when regenerating
gtk3-demo.vc[x]proj for toggling on or off the font features demo, as it
would have been there.

3 years agodemos: Don't dist the generated GResource sources
Chun-wei Fan [Tue, 17 May 2022 10:44:58 +0000 (18:44 +0800)]
demos: Don't dist the generated GResource sources

The Visual Studio projects have support for generating these, especially
that the encoded string that result from them may become too big for the
Visual Studio compiler to handle (such as for gtk3-demo) and we are normally
supposed to generate the GResources sources for all builds, as the
generated code depends on the compiler being used).

3 years agogtk/: Don't distribute the generated sources
Chun-wei Fan [Tue, 17 May 2022 10:43:36 +0000 (18:43 +0800)]
gtk/: Don't distribute the generated sources

We already generate some of the sources for all builds, so extend this
to the other generated sources as well, since the Visual Studio projects
added support for generating these sources too.

3 years agogdk/: Don't distribute the built sources
Chun-wei Fan [Tue, 17 May 2022 10:42:37 +0000 (18:42 +0800)]
gdk/: Don't distribute the built sources

The Visual Studio projects have support for generating these items, so
we don't really need to distribute them with the sources.

3 years agoquartz: drop beam sync penalty code
John Ralls [Thu, 1 Oct 2015 01:33:08 +0000 (18:33 -0700)]
quartz: drop beam sync penalty code

Now that we have a frame clock in place, we should be able to drop
the beam-sync penalty prevention code as we should be aligning our
draws with CVDisplayLink.
Originally by Christian Hergert <chergert@redhat.com>, flushWindow
corrections and improvements by John Ralls.

3 years agoquartz: squash compiler warning about enums
Christian Hergert [Thu, 1 Oct 2015 01:25:07 +0000 (18:25 -0700)]
quartz: squash compiler warning about enums

We don’t care about the other enums, fine to squash the warning.

3 years agoquartz: Clean up two macOS deprecation warnings.
John Ralls [Tue, 1 Feb 2022 20:06:23 +0000 (12:06 -0800)]
quartz: Clean up two macOS deprecation warnings.

3 years agoQuartz: Don't crash trying to release a NULL CGContext.
John Ralls [Sun, 30 Jan 2022 21:17:43 +0000 (13:17 -0800)]
Quartz: Don't crash trying to release a NULL CGContext.

3 years agoMerge branch '3-24-build-with-array-bounds' into 'gtk-3-24'
Matthias Clasen [Tue, 3 May 2022 17:47:43 +0000 (17:47 +0000)]
Merge branch '3-24-build-with-array-bounds' into 'gtk-3-24'

gtkimagedefinition: Check array bounds

See merge request GNOME/gtk!4677

3 years agoMerge branch 'wip/carlosg/im-wayland-backports-3.24' into 'gtk-3-24'
Matthias Clasen [Tue, 3 May 2022 16:36:10 +0000 (16:36 +0000)]
Merge branch 'wip/carlosg/im-wayland-backports-3.24' into 'gtk-3-24'

gtk/imwayland: Use serial to control outbound messages

See merge request GNOME/gtk!4682

3 years agoMerge branch 'wip/another-randr-error-trap' into 'gtk-3-24'
Matthias Clasen [Tue, 3 May 2022 00:46:32 +0000 (00:46 +0000)]
Merge branch 'wip/another-randr-error-trap' into 'gtk-3-24'

[3.24] x11: Trap errors happening when getting output properties

See merge request GNOME/gtk!4680

3 years agoimcontextwayland: Ignore preedit updates from NULL to NULL
Carlos Garnacho [Tue, 26 Apr 2022 10:23:09 +0000 (12:23 +0200)]
imcontextwayland: Ignore preedit updates from NULL to NULL

If we get consecutive preedit string updates that announce a NULL
string, we still do end up issuing ::preedit-changed with those.
Ignore changes from NULL to NULL, it is the other combinations which
must issue this signal.

3 years agoimwayland: Do not defer commit() after set_surrounding_text()
Carlos Garnacho [Wed, 6 Apr 2022 11:08:00 +0000 (13:08 +0200)]
imwayland: Do not defer commit() after set_surrounding_text()

For reasons that only apply to the old serial handling, asking for
the surrounding after IM changes resulted in lazy handling of
commit() afterwards.

With the recent interpretation of serials, this problem became more
apparent, since it is in fact very likely that the last interaction
step after an IM change is notifying of the changed surrounding
text after the IM change was applied.

Make handling of surrounding text similar to caret position changes,
always commit() after the state change, but skip through non-changes.

This makes the compositor state fully up-to-date after an IM change.

(cherry-picked from commit eb7c78aa4896b1d36fa09a3e68c942730b233f74)

3 years agogtk/imwayland: Use serial to control outbound messages
Carlos Garnacho [Tue, 18 Jan 2022 22:31:09 +0000 (23:31 +0100)]
gtk/imwayland: Use serial to control outbound messages

Following the text-input protocol changes at
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/115,
use the serial number to have the client push changes to the
zwp_text_input_v3 object only after compositor/client states match.

This specifically is more lenient to compositors pushing multiple
.done events ahead of the client replying to them.

(cherry-picked from commit f108f053d4c84dcdedce005a3491cbd503092185)

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4853
3 years agox11: Trap errors happening when getting output properties
Jonas Ådahl [Mon, 2 May 2022 14:47:18 +0000 (16:47 +0200)]
x11: Trap errors happening when getting output properties

This is to avoid getting X11 errors (thus aborting/exiting with a
failure) during rapid hotplugs, which may happen during e.g. CI testing.

3 years agogtkimagedefinition: Extend commit b38266c0
Peter Bloomfield [Sat, 30 Apr 2022 16:59:48 +0000 (12:59 -0400)]
gtkimagedefinition: Extend commit b38266c0

Similarly, uses casts in `gtk_image_definition_unref()`. Compilation
succeeds without them, unlike in `gtk_image_definition_ref()`, because
`gtk_image_definition_unref()` is not called internally, unlike
`gtk_image_definition_ref()`. But the build would fail if some function
defined in the module were changed in the future to call
`gtk_image_definition_unref()`, and we can future-proof it now. This
also removes an inconsistency in how we access the members of the union.

3 years agogtkimagedefinition: Check array bounds
Peter Bloomfield [Sat, 30 Apr 2022 02:06:12 +0000 (22:06 -0400)]
gtkimagedefinition: Check array bounds

`jhbuild build gtk+-3` with GCC 12 fails with:
```
In function ‘gtk_image_definition_ref’,
    inlined from ‘gtk_image_definition_new_empty’
    at ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:107:10:
../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:241:13: error:
    array subscript ‘GtkImageDefinition {aka union _GtkImageDefinition}[0]’
    is partly outside array bounds of ‘GtkImageDefinitionEmpty[1]’
    {aka ‘struct _GtkImageDefinitionEmpty[1]’} [-Werror=array-bounds]
  241 |   def->empty.ref_count++;
      |   ~~~~~~~~~~^~~~~~~~~~
../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:
    In function ‘gtk_image_definition_new_empty’:
../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:105:34: note:
object ‘empty’ of size 8
  105 |   static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 };
      |                                  ^~~~~
```
and many similar errors.

Fix it by casting `GtkImageDefinition` to `GtkImageDefinitionEmpty` or
similar, as appropriate.

Essentially backports 4dcd02e85315f487310e2e01fe9412706a77dc35 from main to gtk-3-24.

3 years agoUpdate French translation
Charles Monzat [Fri, 8 Apr 2022 09:19:43 +0000 (09:19 +0000)]
Update French translation

3 years agoUpdate French translation
Charles Monzat [Fri, 8 Apr 2022 09:15:30 +0000 (09:15 +0000)]
Update French translation

3 years agoMerge branch 'mcatanzaro/set-current-folder-file' into 'gtk-3-24'
Matthias Clasen [Sat, 2 Apr 2022 19:56:11 +0000 (19:56 +0000)]
Merge branch 'mcatanzaro/set-current-folder-file' into 'gtk-3-24'

gtkfilechooser: add missing nullable annotation

See merge request GNOME/gtk!4610

3 years agogtkfilechooser: add missing nullable annotation
Michael Catanzaro [Fri, 1 Apr 2022 18:06:53 +0000 (13:06 -0500)]
gtkfilechooser: add missing nullable annotation

3 years agoUpdate Swedish translation
Anders Jonsson [Sun, 27 Mar 2022 09:57:22 +0000 (09:57 +0000)]
Update Swedish translation

3 years agoUpdate Dutch translation
Nathan Follens [Fri, 25 Mar 2022 11:01:14 +0000 (11:01 +0000)]
Update Dutch translation

3 years agoUpdate Latvian translation
Rūdolfs Mazurs [Thu, 24 Mar 2022 20:18:44 +0000 (20:18 +0000)]
Update Latvian translation

3 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Tue, 22 Mar 2022 14:30:27 +0000 (14:30 +0000)]
Update Chinese (Taiwan) translation

3 years ago[quartz] Restore setting QUARTZ_RELOCATION in meson build.
John Ralls [Fri, 18 Mar 2022 18:13:34 +0000 (11:13 -0700)]
[quartz] Restore setting QUARTZ_RELOCATION in meson build.

This seems to have gotten lost in the migration from autotools.

Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/4769

3 years agoUpdate Norwegian Bokmål translation
Kjartan Maraas [Tue, 15 Mar 2022 15:15:02 +0000 (15:15 +0000)]
Update Norwegian Bokmål translation

3 years agoUpdate Italian translation
Milo Casagrande [Mon, 14 Mar 2022 14:46:06 +0000 (14:46 +0000)]
Update Italian translation

3 years agoUpdate German translation
Christian Kirbach [Mon, 14 Mar 2022 01:08:30 +0000 (01:08 +0000)]
Update German translation

3 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 12 Mar 2022 11:59:29 +0000 (11:59 +0000)]
Update Kazakh translation

3 years agoMerge branch 'wip/jimmac/legacy-icons-gtk3' into 'gtk-3-24'
Matthias Clasen [Fri, 11 Mar 2022 18:41:44 +0000 (18:41 +0000)]
Merge branch 'wip/jimmac/legacy-icons-gtk3' into 'gtk-3-24'

icons: add legacy icons

See merge request GNOME/gtk!4562

3 years agoicons: add legacy icons
Jakub Steiner [Thu, 10 Mar 2022 21:04:39 +0000 (22:04 +0100)]
icons: add legacy icons

- add legacy hicolor icons relied on in testsuite

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4754

3 years agoUpdate Hungarian translation
Balázs Úr [Fri, 11 Mar 2022 01:16:17 +0000 (01:16 +0000)]
Update Hungarian translation

3 years agoUpdate German translation
Christian Kirbach [Tue, 8 Mar 2022 21:03:01 +0000 (21:03 +0000)]
Update German translation

3 years agoUpdated Danish translation
Ask Hjorth Larsen [Tue, 8 Mar 2022 19:54:36 +0000 (20:54 +0100)]
Updated Danish translation

3 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 7 Mar 2022 16:04:28 +0000 (18:04 +0200)]
Updated Lithuanian translation

3 years ago3.24.33
Matthias Clasen [Sat, 5 Mar 2022 04:51:32 +0000 (21:51 -0700)]
3.24.33

3 years ago3.24.32
Matthias Clasen [Fri, 4 Mar 2022 00:58:26 +0000 (17:58 -0700)]
3.24.32

3 years agoUpdate Korean translation
Changwoo Ryu [Thu, 3 Mar 2022 12:42:48 +0000 (12:42 +0000)]
Update Korean translation

3 years agoMerge branch 'fix_missing_printer_libs_win32' into 'gtk-3-24'
Luca Bacci [Thu, 3 Mar 2022 08:52:02 +0000 (08:52 +0000)]
Merge branch 'fix_missing_printer_libs_win32' into 'gtk-3-24'

Add missing Windows libs for printing during cross-compiling (GTK3)

See merge request GNOME/gtk!4526

3 years agoUpdate Serbian translation
Мирослав Николић [Thu, 3 Mar 2022 04:23:19 +0000 (04:23 +0000)]
Update Serbian translation

3 years agoUpdate Croatian translation
Goran Vidović [Tue, 1 Mar 2022 12:41:57 +0000 (12:41 +0000)]
Update Croatian translation

3 years agoMerge branch 'fix_dllMain_win32' into 'gtk-3-24'
Luca Bacci [Tue, 1 Mar 2022 06:03:37 +0000 (06:03 +0000)]
Merge branch 'fix_dllMain_win32' into 'gtk-3-24'

Fix dllMain win32

See merge request GNOME/gtk!4524

3 years agoFix dllMain win32
Melroy van den Berg [Tue, 1 Mar 2022 06:03:36 +0000 (06:03 +0000)]
Fix dllMain win32

3 years ago[quartz] Fix use-before-init.
John Ralls [Mon, 28 Feb 2022 18:05:47 +0000 (10:05 -0800)]
[quartz] Fix use-before-init.

Thanks to Lukas Oberhuber for the patch.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4726

3 years agoMerge branch 'win32-fix-4724-gtk3' into 'gtk-3-24'
Luca Bacci [Mon, 28 Feb 2022 08:44:44 +0000 (08:44 +0000)]
Merge branch 'win32-fix-4724-gtk3' into 'gtk-3-24'

gdkkeys-win32: Only perform substitution as last-resort [GTK3]

See merge request GNOME/gtk!4530

3 years agogdkkeys-win32: Only perform substitution as last-resort
Philip Zander [Sun, 27 Feb 2022 15:32:59 +0000 (16:32 +0100)]
gdkkeys-win32: Only perform substitution as last-resort

Instead of performing keyboard layout substitution whenever we find a matching
entry in the registry, first try to load the original layout and only attempt
substitution when that fails.

See #4724

3 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 27 Feb 2022 08:04:17 +0000 (08:04 +0000)]
Update Basque translation

3 years agoAdd missing Windows libs for printing - win32. During cross-compiling
Melroy van den Berg [Sat, 26 Feb 2022 16:24:30 +0000 (17:24 +0100)]
Add missing Windows libs for printing - win32. During cross-compiling

3 years agoMerge branch 'gdk-win32-fix-issue-1402' into 'gtk-3-24'
Luca Bacci [Fri, 25 Feb 2022 16:50:59 +0000 (16:50 +0000)]
Merge branch 'gdk-win32-fix-issue-1402' into 'gtk-3-24'

Fix last error reporting when calling GetClipboardOwner

See merge request GNOME/gtk!4520

3 years agoFix last error reporting when calling GetClipboardOwner
Luca Bacci [Fri, 25 Feb 2022 15:47:43 +0000 (16:47 +0100)]
Fix last error reporting when calling GetClipboardOwner

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1402

3 years agoUpdate Chinese (China) translation
Luming Zh [Fri, 25 Feb 2022 00:08:34 +0000 (00:08 +0000)]
Update Chinese (China) translation

3 years agoUpdate Galician translation
Fran Dieguez [Thu, 24 Feb 2022 12:55:37 +0000 (12:55 +0000)]
Update Galician translation

3 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 24 Feb 2022 11:53:52 +0000 (12:53 +0100)]
Updated Spanish translation

3 years agoUpdate Hebrew translation
Yosef Or Boczko [Tue, 22 Feb 2022 20:50:54 +0000 (20:50 +0000)]
Update Hebrew translation

3 years agoMerge branch 'fix_derefence_fault_gdk_x11_device_xi2_window_at_position' into 'gtk...
Matthias Clasen [Tue, 22 Feb 2022 19:43:54 +0000 (19:43 +0000)]
Merge branch 'fix_derefence_fault_gdk_x11_device_xi2_window_at_position' into 'gtk-3-24'

fix(dereference NULL ptr): Also tests "impl" in gdk_x11_device_xi2_window_at_position

See merge request GNOME/gtk!4408

3 years agoMerge branch 'meson-use-gnome-post-install' into 'gtk-3-24'
Emmanuele Bassi [Tue, 22 Feb 2022 10:08:16 +0000 (10:08 +0000)]
Merge branch 'meson-use-gnome-post-install' into 'gtk-3-24'

Meson: Use gnome.post_install

See merge request GNOME/gtk!4379

3 years agoUpdate Slovenian translation
Matej Urbančič [Mon, 21 Feb 2022 19:59:33 +0000 (19:59 +0000)]
Update Slovenian translation

3 years agoMerge branch 'gdk-win32-fix-ime-popup-position' into 'gtk-3-24'
Luca Bacci [Mon, 21 Feb 2022 13:36:21 +0000 (13:36 +0000)]
Merge branch 'gdk-win32-fix-ime-popup-position' into 'gtk-3-24'

Win32 IME: Use CFS_EXCLUDE to specify cursor position

See merge request GNOME/gtk!4497

3 years agoUpdated Czech translation
Marek Černocký [Mon, 21 Feb 2022 09:46:34 +0000 (10:46 +0100)]
Updated Czech translation

3 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 21 Feb 2022 06:53:27 +0000 (06:53 +0000)]
Update Indonesian translation

3 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 20 Feb 2022 15:02:09 +0000 (15:02 +0000)]
Update Turkish translation

3 years agoUpdate Polish translation
Piotr Drąg [Sun, 20 Feb 2022 12:56:31 +0000 (13:56 +0100)]
Update Polish translation

3 years agoUpdate Persian translation
Danial Behzadi [Sun, 20 Feb 2022 11:17:07 +0000 (11:17 +0000)]
Update Persian translation

3 years agoWin32 IME: Use CFS_EXCLUDE to specify cursor position
Carlos Garnacho [Sat, 19 Feb 2022 16:26:09 +0000 (17:26 +0100)]
Win32 IME: Use CFS_EXCLUDE to specify cursor position

That mode of operation requires an exclude rectangle, which maps
better to the info provided on gtk_im_context_set_cursor_location(),
coincidentally also fixes the offset seen on the IME preedit window.

https://gitlab.gnome.org/GNOME/gtk/-/issues/374
https://bugzilla.gnome.org/show_bug.cgi?id=663096

3 years agoUpdate Romanian translation
Daniel Șerbănescu [Sat, 19 Feb 2022 13:38:52 +0000 (13:38 +0000)]
Update Romanian translation